package manager.com.ithei.edu.info.manager.dao;

import manager.com.ithei.edu.info.manager.domain.Teacher;

import java.text.ParseException;
import java.util.ArrayList;

public interface BaseTeacherDao {
    //查找老师
    public abstract Teacher[] findAllTeachers();

    //增加老师
    public abstract boolean addTeacher(Teacher t) throws ParseException;

    //获取学号对应对象的索引
    public abstract int getIndex(String id);

    //删除教师的方法
    public abstract void deleteTeacherByIdTwo(String id);

    //设置老师对象
    public abstract void setTeacherByIdTwo(String id, Teacher teachers);

}
